package com.huawang.mdesign.model.service.request.uaf;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * Exchange的基础Dto类
 **/
@Data
public abstract class ExchangeDto {
    @Schema(title = "项目id")
    private String projectId;

    @Schema(title = "名称")
    private String name;

    @Schema(title = "转换exchangeKind的模型id")
    private String exchangeKind;

    @Schema(title = "交换source端模型id")
    private String source;

    @Schema(title = "交换target端模型id")
    private String target;

    @Schema(title = "转换关联的关系Id，可用是Association、Connector、ActivityEdge和Message")
    private String relationId;

    @Schema(title = "和关系的方向一致")
    private boolean directionSameWithRelation = true;

    @Schema(title = "传递")
    private List<String> conveyedItems;

    @Schema(title = "应用构造型")
    private List<String> applyStereotypes;
}

